#include <my_header.h>
#include "PthreadArry.h"
#include "ReadyQueue.h"
#include "InternetOperator.h"
#include "UserLink.h"
#include <openssl/md5.h>
#include <shadow.h>


typedef struct threadpool{
    PthreadArry thd_arry;
    ReadyQueue rdy_que;
    pthread_mutex_t lock1;   //管新来链接的
    pthread_mutex_t lock2;   //管用户链表的
    pthread_cond_t cond;
    UserLink ul;        // 一二期用不到
}PthreadPool;


typedef struct{
    int length;
    char data[1024];
}Train;


int pthreadPoolInit(PthreadPool * pp,int size);




